package com.example.examsystem2.mapper;

import com.example.examsystem2.entity.Subject;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
@Mapper
public interface SubjectMapper {
    List<Subject> get_all_subject();

    int del_subject_by_s_id(int s_id);

    int add_subject(Subject subject);
}
